SanityCheck : UGen {
	
	*ar { arg input;
		var output;
		output = Select.ar(
			CheckBadValues.ar(input),[input,SinOsc.ar(0),SinOsc.ar(0),SinOsc.ar(0)]);
		^output;
	}
	
	*kr { arg input;
		var output;
		output = Select.kr(
			CheckBadValues.kr(input),[input,0,0,0]);
		^output;
	}
	
}

/* this is the non-posting version*/
SanityCheck2 : UGen {
	
	*ar { arg input;
		var output;
		output = Select.ar(
			CheckBadValues.ar(input,0,0),[input,SinOsc.ar(0),SinOsc.ar(0),SinOsc.ar(0)]);
		^output;
	}
	
	*kr { arg input;
		var output;
		output = Select.kr(
			CheckBadValues.kr(input,0,0),[input,0,0,0]);
		^output;
	}
	
}